package com.unhz.generator.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: 沈佳庆
 * @Description: 用户信息数据字典
 * @Date: Created in 下午 6:40 2018/1/23 0023
 * @Modified By:
 */

public class UserDict implements Serializable {

    /**序号**/
    private Integer id;

    /**名称**/
    private String name;

    /**排序**/
    private Integer sort;

    /**类型:1.生产范围 2.岗位**/
    private Integer type;

    /**创建时间**/
    private Date createTime;

    /**创建者**/
    private String createBy;

    /**最后一次修改时间**/
    private Date updateTime;

    /**最后一次修改者**/
    private String updateBy;

    /** 是否选中 0 未选中 1 选中*/
    private String change;

    public String getChange() {
        return change == null ? "" : change;
    }

    public void setChange(String change) {
        this.change = change;
    }

    public UserDict(){

    }

    public UserDict(Integer id, String name, Integer sort, Integer type, Date createTime, String createBy, Date updateTime, String updateBy) {
        this.id = id;
        this.name = name;
        this.sort = sort;
        this.type = type;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateTime = updateTime;
        this.updateBy = updateBy;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
}
